define(['jquery'],function($){
    class Footer{
        constructor(){
            this.loadHTML()
        }
        loadHTML(){
            return new Promise(resolve =>{
                $('footer').load('/html/modules/footer.html',resolve)
            })
        }
    }
    return new Footer()
})